import axios from '@/apis'

// 请求banners的数据
export const getBannersAPI = distributionSite =>
  axios('/home/banner', { params: { distributionSite } })
// 请求新鲜好物的数据
export const getNewAPI = () => axios('/home/new')
// 请求人气推荐的数据
export const getHotAPI = () => axios('/home/hot')
// 请求商品数据
export const getGoodsAPI = () => axios('/home/goods')
